<!--燃气报装-->
<template>
  <div class="gas-install-box">
    <PageTitle class="boxTitle" :text="title"></PageTitle>
    <div class="date-tips">2023-07-04 11:26 发表于重庆</div>
    <div class="detailContent con-box">
      <div class="primary-tit title">用气报装业务流程</div>
      <div class="imgContent">
        <image v-for="(item,index) in dataList" :key="index" :src="item" @tap.stop="previewImage(item)" />
      </div>
      <div class="primary-tit title">办理渠道</div>
    </div>
    <FooterTel></FooterTel>
  </div>
</template>

<script>
import PageTitle from '../components/pageTitle.vue'
import FooterTel from '../components/footerTel.vue'
export default {
  name: 'Detail',
  components: {
    PageTitle,
    FooterTel
  },
  data () {
    return {
      title: null,
      dataList: [
        // require('@/static/contentImg/gasInstall001.png'),
        'https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/gasInstall001.png'
      ],
    };
  },
  async onShow () {

  },
  async onLoad (e) {
    var vm = this;
    vm.title = e.title
  },
  created () { },
  methods: {
    previewImage (i) {
      this.func.previewImg(i, this.dataList)
    }
  },
  mounted () {
    var vm = this;
  },
};
</script>

<style lang="scss" scoped>
@import "../../static/css/module.scss";
.gas-install-box {
  padding-bottom: 10px;
  .boxTitle {
    margin: 10px 14px;
  }
  .detailContent {
    .imgContent {
      width: auto;
      image,
      img {
        width: 100%;
      }
    }
  }
  .detailContent,
  .tips {
    padding: 0 18px 20px;
    margin: 14px;
    font-size: 15px;
    line-height: 22px;
    overflow: hidden;
    .title {
      width: 100%;
      height: 30px;
      padding-left: 14px;
      line-height: 30px;
      font-size: 17px;
      font-weight: bold;
      color: #222;
      box-sizing: border-box;
      margin: 10px 0;
    }
  }
}
</style>
